package com.example.petproject.entity;

import io.swagger.v3.oas.annotations.media.Schema;

/**
 * 包名称：com.example.petproject.entity
 * 类名称：Categories
 * 类描述：查看商品详情的商品分类数组
 * 创建人：@author DrinkMore-HotWater
 * 创建时间：2024年01月13日 14:24
 **/
@Schema(name = "查看商品详情的商品分类数组",description = "查看商品详情的商品分类数组")
public class DetailCategories {

    @Schema(description = "商品分类id")
    private Integer id;
    @Schema(description = "商品分类名称")
    private String name;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
